<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>新闻类别列表</title>
</head>
<body>
<div class="youarehere">网站内容管理 &gt; <span>管理新闻类别</span></div>
	<div id="content">
		<form action='<chtml:path path="/" />cm/list' method="post"
			id="categoryForm">
			<table width="99%" align="center" border="0" cellpadding="1"
				cellspacing="1" class="data_table">
				<tr>
					<td class="data_tab_th" colspan="4">查询新闻类别</td>
				</tr>
				<tr>
					<td class="data_tab_tdr">类别名</td>
					<td class="data_tab_tdl" colspan="3"><input type="text"
						value="${name}" name="name" />
					</td>
				</tr>
				<tr>
					<td align="center" colspan="4" class="bg_bai">
		
		<div class="mr_20 t_c">
			<input type="submit" class="pub_bt" value="查询" onclick='document.getElementsByName("PaginationButton_CurrentPage4articlecategorylist")[0].value=1;' />
			<input type="button" class="pub_bt" value="清空" onclick="this.form.reset();" />
		</div>			
					</td>
				</tr>
			</table>
			<br />
			<!-- 自定义标签示例 -->
			<chtml:list collection="articlecategorylist"
				type="com.hengpeng.itfinbase.persist.ArticleCategory"
				updateLink="get/@{id}" linkTarget="_self"
				includeFields="name,description" fieldWidth="60,120"
				showCheckBox="true" title="新闻类别列表"
				paginationName="articleCategoryListPage" allowSort="false">
				<input type="button" value="新增"
					onclick="javascript:location.href='<%=request.getContextPath()%>/cm/new'" />
				<input type="button" value="删除"
					onclick="javascript:helper.fun.deleted('<%=request.getContextPath()%>/cm/remove','ids','id4articlecategorylist','categoryForm');" />
			</chtml:list>
		</form>
	</div>
	<!--说明   -->	
<div class="sm_info">
	<p class="row_one">说明：</p>
	<p class="other"></p>
	<p class="other"></p>
</div>
</body>
</html>